package com.ruoyi.labdata.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实验室黑名单人员对象 lab_blacklist_personnel
 * 
 * @author ruoyi
 * @date 2022-04-24
 */
public class LabBlacklistPersonnel extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private Long id;

	/** 黑名单ID */
	@Excel(name = "黑名单ID")
	private Long blacklistId;

	/** 人员id */
	@Excel(name = "人员id")
	private Long personnelId;

	/** 违规次数 */
	@Excel(name = "违规次数")
	private Integer violateNum;

	/** 创建人员id */
	private Long createUserId;

	/** 移除人工号 */
	@Excel(name = "移除人工号")
	private String removeByNo;

	/** 移除人姓名 */
	@Excel(name = "移除人姓名")
	private String removeUserName;

	/** 移除时间 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Excel(name = "移除时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date removeTime;

	/** 移除备注 */
	@Excel(name = "移除备注")
	private String removeMark;

	/** 是否已经移除 */
	@Excel(name = "是否已经移除")
	private Integer isRemove;
	
	private List<LabFile> images;
	

	public List<LabFile> getImages() {
		return images;
	}

	public void setImages(List<LabFile> images) {
		this.images = images;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setBlacklistId(Long blacklistId) {
		this.blacklistId = blacklistId;
	}

	public Long getBlacklistId() {
		return blacklistId;
	}

	public void setPersonnelId(Long personnelId) {
		this.personnelId = personnelId;
	}

	public Long getPersonnelId() {
		return personnelId;
	}

	public void setViolateNum(Integer violateNum) {
		this.violateNum = violateNum;
	}

	public Integer getViolateNum() {
		return violateNum;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setRemoveByNo(String removeByNo) {
		this.removeByNo = removeByNo;
	}

	public String getRemoveByNo() {
		return removeByNo;
	}

	public void setRemoveUserName(String removeUserName) {
		this.removeUserName = removeUserName;
	}

	public String getRemoveUserName() {
		return removeUserName;
	}

	public void setRemoveTime(Date removeTime) {
		this.removeTime = removeTime;
	}

	public Date getRemoveTime() {
		return removeTime;
	}

	public void setRemoveMark(String removeMark) {
		this.removeMark = removeMark;
	}

	public String getRemoveMark() {
		return removeMark;
	}

	public void setIsRemove(Integer isRemove) {
		this.isRemove = isRemove;
	}

	public Integer getIsRemove() {
		return isRemove;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
				.append("blacklistId", getBlacklistId()).append("personnelId", getPersonnelId())
				.append("violateNum", getViolateNum()).append("createBy", getCreateBy())
				.append("createTime", getCreateTime()).append("createUserId", getCreateUserId())
				.append("removeByNo", getRemoveByNo()).append("removeUserName", getRemoveUserName())
				.append("removeTime", getRemoveTime()).append("removeMark", getRemoveMark())
				.append("isRemove", getIsRemove()).toString();
	}
}